package cn.getech.data.development.service;

import cn.getech.data.development.model.dto.SaveAlarmLogDto;
import cn.getech.data.development.model.vo.AlarmTaskLogVO;

public interface SaveAlarmLogService {

    /**
    * @Description 保存告警日志
    * @Author  chengweiping
    * @Date   2020/12/14 16:07
    */
    Long saveAlarmLog(SaveAlarmLogDto saveAlarmLogDto);

    /**
    * @Description  更新告警状态
    * @Author  chengweiping
    * @Date   2020/12/14 16:38
    */
    void  updateStatus(Long alarmLogId, Integer status);

    /**
     * 根据任务告警id 查询需要的日志数据
     * @param id
     * @return
     */
    AlarmTaskLogVO queryBdpAlarmLogId(Long id);
}
